import request from "@/utils/request";
import { IFormdata } from "../component/category/useData";
import { BannerObj, CustomerInfo } from "./type";

/**获取轮播图 */
export function fetchBannerList() {
  return request.get<BannerObj, true>('/cupid/main-marquee/list')
}

/** 复杂搜索 */
export function fetchSearchCustomer(options: CustomerInfo) {
  return request.get<CustomerInfo, true>('/cupid/customer/complex-query-abs-list', options)
}

/** 射箭 */
export function fetchArchery() {
  return request.post('/cupid/customer-arrow-record')
}